<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!-- 顶部模块[如：功能按钮、搜索面板] -->
<div class="bjui-pageContent" style="background: #FFF;">
	<form id="pagerForm" data-toggle="ajaxform" class="ajaxForm"
		action="${ctx}/sys/sysSiteAction/doSave" method="post"
		enctype="multipart/form-data">
		<input type="hidden" name="op" id="j_dialog_op"
			value="${param.op}${op}"> <input type="hidden" name="id"
			id="j_dialog_id" value="${site.id}">
		<table id="doc-datagrid-table"
			class="table table-bordered table-hover table-striped table-top">
			<tbody>
				 <tr>
                    <td colspan="2" align="center" valign="middle"><h4>${title}</h4></td>
                </tr>
				<tr style="height: 30px;">
					<td><label for="name" class="control-label x90">名称：</label>
					<input name="siteName" value="${site.siteName}"><label for="name" class="control-label x90">版权：</label>
					<input name="copyright" value="${site.copyright}"></td>
				</tr>
				<tr style="height: 30px;">
					<td><label for="name" class="control-label x90">站点关键词：</label>
				<input name="keywords" value="${site.keyWords}">
				<label for="name" class="control-label x90">域名：</label>
					<input name="realmName" value="${site.realmName}"></td>
				</tr>
			
				<tr style="height: 30px;">
					<td>
				<label for="name" class="control-label x90">图片：</label>
				
		<input class="" id="ImgUrl" type="text" name="imgUrl" readonly="readonly"
						value="${site.imgUrl}" />
					<input type="file" name="file" 
						 accept="image/*"
						style="width: 40%;" ></td>
				</tr>
				<tr style="height: 30px;">
					<td><label for="name" class="control-label x90">备注：</label> <textarea
							name="remark" id="remark" rows="5" cols="58">${site.remark}</textarea>
					</td>
				
				</tr>
				<tr style="height: 30px;">
					<td><label for="name" class="control-label x90">备注2：</label> <textarea
							name="remark2" id="remark2" rows="5" cols="58">${site.remark2}</textarea>
					</td>

				</tr>
					<tr style="height: 30px;">
					<td><label for="name" class="control-label x90">描述：</label>
					<textarea
							name="description" id="description" rows="5" cols="58">${site.description}</textarea></td>
				
				</tr>
			</tbody>
		</table>
	</form>


</div>

<!-- 底部模块[如：工具条、分页组件]  -->
<div class="bjui-pageFooter">
	<ul>
		<li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
		<li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
	</ul>

</div>
